﻿<%@ Page Language="C#" MasterPageFile="~/Source.Master" AutoEventWireup="true" CodeBehind="Error.aspx.cs" Inherits="Source.Web.Error" Title="Error" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <table height="95%" cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td align="center" valign="top" width="100%" height="90%">
                    <br />
                    <asp:Panel runat="server" Visible='<%# HasErrorMessage %>'>
                        <asp:Label ID="labelKnowError" runat="server" Text="<%$ Resources: TextRepository, GEN_ExceptionOccured %>" CssClass="eSales_warning" /><br />
                        <asp:Label runat="server" Text='<%# ErrorMessage %>' />
                    </asp:Panel>
                    
                    <asp:Label ID="labelUnknownErrorMessage" Visible='<%# !HasErrorMessage %>' runat="server" Text="<%$ Resources: TextRepository, GEN_UnexpectedExceptionHasOccurred %>" CssClass="eSales_warning" />
                </td>
            </tr>
        </tbody>
    </table>

</asp:Content>
